#ifndef EXPR_SCALAR_HPP
#define EXPR_SCALAR_HPP
//* expr_scalar.hpp

//* class for objects that represent scalars
template <typename T>
class A_Scalar {
private:
	T const& s; 
public:
	//* constructor
	A_Scalar (T const& v) : s(v) {}
	//* 
	T operator[] (size_t) const {
		return s;
	}
	//*scalar has size 0
	size_t size() const {
		return 0;
	};
};

#endif